package com.api.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * (PayOrderRecord)实体类
 *
 * @author makejava
 * @since 2021-09-02 13:24:32
 */
@Data
@AllArgsConstructor
public class PayOrderRecord implements Serializable {
    private static final long serialVersionUID = 495196756769267870L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 操作类型：CREATE\|PAY\|REFUND...
     */
    private String type;
    /**
     * 原订单状态
     */
    private String fromStatus;
    /**
     * 新订单状态
     */
    private String toStatus;
    /**
     * 实付金额，单位为分
     */
    private Integer paidAmount;
    /**
     * 备注
     */
    private String remark;
    /**
     * 操作人
     */
    private String createdBy;
    /**
     * 操作时间
     */
    private String createdAt;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFromStatus() {
        return fromStatus;
    }

    public void setFromStatus(String fromStatus) {
        this.fromStatus = fromStatus;
    }

    public String getToStatus() {
        return toStatus;
    }

    public void setToStatus(String toStatus) {
        this.toStatus = toStatus;
    }

    public Integer getPaidAmount() {
        return paidAmount;
    }

    public void setPaidAmount(Integer paidAmount) {
        this.paidAmount = paidAmount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

}
